package com.spillman.signtab.preferences;

import java.util.List;

import android.os.Bundle;
import android.preference.PreferenceActivity;

import com.spillman.signtab.R;


public class MainPreferenceActivity extends PreferenceActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Override
	public void onBuildHeaders(List<Header> target) {
		//TODO: Currently HoloEverywhere doesn't support headers in xml format so they will be set in code
		//Change this behaviour when this issue is addressed in future versions of the library
		Header generalHeader = new Header();
		generalHeader.fragment = MainPreference.class.getName();
		generalHeader.titleRes = R.string.menu_settings;		
		target.add(generalHeader);
	}
	
}
